#pragma once

#include "ResourceDocument.h"
#include "CodeViewManager.h"


class CDocumentManager :
	public CCmdTarget
{
	DECLARE_MESSAGE_MAP()

private:
	CResourceDocument &m_rDocument;

	CCodeViewManager m_ScriptManager;
	CCodeViewManager m_HeaderManager;

public:
	CDocumentManager(CResourceDocument &a_rDocument);

	VOID CloseAllViews();

	afx_msg void OnViewScript();
	afx_msg void OnUpdateViewScript(CCmdUI *pCmdUI);

	afx_msg void OnViewHeader();
	afx_msg void OnUpdateViewHeader(CCmdUI *pCmdUI);

};
